package my.service;

import java.sql.SQLException;
import java.util.List;

import my.bean.Credits;

public interface ICreditsService {

	int add(Credits credit) throws SQLException;

	int modidy(Credits credit) throws SQLException;

	int deleteById(int cid) throws SQLException;

	List<Credits> findByUserID(int userid);

	Credits findByCId(int cid);

	List<Credits> findAll();

}
